package com.edgar.download;

/**
 * Created by dell on 2015/9/25.
 */
public interface IDownloadListener {

    void onStart(String url);

    void onPause(String url);

    void onCancel(String url);

    void onFailure(String url, int failStatusCode);

    void onComplete(String url);

    void onWaitDownload(String url);
    /**
     * @param url
     * @param status
     * @param progress
     */
    void onDownload(String url, int status, int progress);
}
